package cn.wolfcode.shop.api.service;

import cn.wolfcode.shop.api.domain.OrderProduct;

import java.util.List;

public interface IOrderProductService {
    int save(OrderProduct orderProduct);

    int update(OrderProduct orderProduct);

    OrderProduct get(Long id);

    List<OrderProduct> selectAll();

    List<OrderProduct> selectProductByOrderId(Long id);

    int countProductAmountByOrderId(Long id);
}
